package com.infitecs.eyas.quality.model;

import com.infitecs.eyas.util.NumberUtil;

/**
 * Created with IntelliJ IDEA.
 * User: chenkaiyu
 * Date: 15-4-24
 * Time: 下午4:52
 * To change this template use File | Settings | File Templates.
 */
public class Ash {
    private int id;
    private double sio2;
    private double al2o3;
    private double fe2o3;
    private double cao;
    private double tio2;
    private double mgo;
    private double so3;
    private double k2o;
    private double na2o;
    private double other;
    private double total;
    private double dt;
    private double st;
    private double ht;
    private double ft;
    private double rt;
    private double r2;
    private int powerCaseId;
    private String otherState;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getSio2() {
        return sio2;
    }

    public String getSio2Show() {
        return NumberUtil.trimZero(sio2+"");
    }

    public void setSio2(double sio2) {
        this.sio2 = sio2;
    }

    public double getAl2o3() {
        return al2o3;
    }

    public String getAl2o3Show() {
         return NumberUtil.trimZero(al2o3+"");
     }

    public void setAl2o3(double al2o3) {
        this.al2o3 = al2o3;
    }

    public double getFe2o3() {
        return fe2o3;
    }

    public String getFe2o3Show() {
         return NumberUtil.trimZero(fe2o3+"");
     }

    public void setFe2o3(double fe2o3) {
        this.fe2o3 = fe2o3;
    }

    public double getCao() {
        return cao;
    }

    public String getCaoShow() {
        return NumberUtil.trimZero(cao + "");
    }

    public void setCao(double cao) {
        this.cao = cao;
    }

    public double getTio2() {
        return tio2;
    }

    public String getTio2Show() {
        return NumberUtil.trimZero(tio2 + "");
    }

    public void setTio2(double tio2) {
        this.tio2 = tio2;
    }

    public double getMgo() {
        return mgo;
    }

    public String getMgoShow() {
        return NumberUtil.trimZero(mgo + "");
    }


    public void setMgo(double mgo) {
        this.mgo = mgo;
    }

    public double getSo3() {
        return so3;
    }

    public String getSo3Show() {
        return NumberUtil.trimZero(so3 + "");
    }

    public void setSo3(double so3) {
        this.so3 = so3;
    }

    public double getK2o() {
        return k2o;
    }

    public String getK2oShow() {
        return NumberUtil.trimZero(k2o + "");
    }


    public void setK2o(double k2o) {
        this.k2o = k2o;
    }

    public double getNa2o() {
        return na2o;
    }

    public String getNa2oShow() {
        return NumberUtil.trimZero(na2o + "");
    }

    public void setNa2o(double na2o) {
        this.na2o = na2o;
    }

    public double getOther() {
        return other;
    }

    public String getOtherShow() {
        return NumberUtil.trimZero(other + "");
    }

    public void setOther(double other) {
        this.other = other;
    }

    public double getTotal() {
        return total;
    }

    public String getTotalShow() {
         return NumberUtil.trimZero(total + "");
     }

    public void setTotal(double total) {
        this.total = total;
    }

    public double getDt() {
        return dt;
    }

    public String getDtShow() {
            return NumberUtil.trimZero(dt + "");
        }

    public void setDt(double dt) {
        this.dt = dt;
    }

    public double getSt() {
        return st;
    }

    public String getStShow() {
        return NumberUtil.trimZero(st + "");
    }

    public void setSt(double st) {
        this.st = st;
    }

    public double getHt() {
        return ht;
    }

    public String getHtShow() {
        return NumberUtil.trimZero(ht + "");
    }

    public void setHt(double ht) {
        this.ht = ht;
    }

    public double getFt() {
        return ft;
    }

    public String getFtShow() {
        return NumberUtil.trimZero(ft + "");
    }

    public void setFt(double ft) {
        this.ft = ft;
    }

    public double getRt() {
        return rt;
    }

    public String getRtShow() {
        return NumberUtil.trimZero(rt + "");
    }

    public void setRt(double rt) {
        this.rt = rt;
    }

    public double getR2() {
        return r2;
    }

    public String getR2Show() {
        return NumberUtil.trimZero(r2 + "");
    }

    public void setR2(double r2) {
        this.r2 = r2;
    }

    public int getPowerCaseId() {
        return powerCaseId;
    }

    public void setPowerCaseId(int powerCaseId) {
        this.powerCaseId = powerCaseId;
    }

    public String getOtherState() {
        return otherState;
    }

    public void setOtherState(String otherState) {
        this.otherState = otherState;
    }
}
